package com.ktjy.controller;

import org.springframework.web.servlet.view.UrlBasedViewResolver;

public class BaseController {

    public String forward(String url){
        return UrlBasedViewResolver.FORWARD_URL_PREFIX+url;
    }

    public String redirect(String url){
        return UrlBasedViewResolver.REDIRECT_URL_PREFIX+url;
    }

}
